package com.wulinbus.service;

import java.util.List;

import com.wulinbus.model.CreativeOrderModel;

public interface CreativeOrderService {

	public CreativeOrderModel getById(Integer order_id);
	
	public CreativeOrderModel getByNum(String order_num);
	
	public CreativeOrderModel getByUid(Integer cid,Integer uid);

	public CreativeOrderModel getOrderPayByUid(Integer cid,Integer uid);
	
	public List<CreativeOrderModel> getList(Integer uid,Integer start, Integer count);
	
	public Integer getListCount(Integer uid);
	
	public List<CreativeOrderModel> getSellList(Integer cuid,Integer start, Integer count);
	
	public Integer getSellListCount(Integer cuid);

	public Integer insert(CreativeOrderModel order);

	public Integer update(CreativeOrderModel order);
	
	public Integer updateByOrderNum(CreativeOrderModel order);

	public Integer delete(Integer order_id);
}
